import request from '@/utils/request'

export function dataApi(key) {
  return request({
    url: '/api/dict/bykey/' + key,
    method: 'get'
  })
}

/**
 * 口味列表
 */
export function flavorListApi() {
  return request({
    url: '/api/dict/flavorList',
    method: 'get'
  })
}
